<div class="searchresult">

<table>
<tr><td class="left" rowspan=2 valign="top">
    <<if ($item.photo_id)>>
    <img onclick="photoClicked(this)" src="index.php?mode=service&page=fileloader&service=display&_thumbnail=1&_file_id=<<$item.photo_id>>" class="logo" onerror="this.src='site/resources/img/other/noimage.jpg'">
    <<else>>
    <img src="site/resources/img/other/noimage.jpg" height="100">
    <</if>>
</td><td class="middle">
    <table cellspacing=0 cellpadding=0>
    <tr><Td>
    <h1><<$item.companyname>></h1>
    </td></tr>
    <tr><td valign="middle">
    <div><<$item.freetype_text>></div>
    </td></tr>
    <tr><td valign="middle">
    <div>
    <b>Product name</b>: <<$item.productname>> <b>HS code</b>: <<$item.hs4>><br>
    <b>Quantity</b>: <<$item.quantity>> <<$item.unit>>
    <b>Post date</b>: <<$item.postdate>><br>
    <b>Country of origin</b>: <<$item.country_origin>><br>
    <b>Country of destination</b>:<<$item.country_dest>>
    </div>

    </td></tr>
    </table>
</td><td class="right" style="width:50%;">
<div id="description_<<$item.businesslead_id>>" style="height:75px;overflow-y:auto;">
<<$item.description>>
</div>
<<if ($loggedin)>>
<div id="details_<<$item.businesslead_id>>" style="display:none;">
    <a target="_blank" href="http://<<$item.hphungarian>>"><<$item.hphungarian>></a><br>
    <img src="site/resources/img/icons/mail.png" width=17 height=12 class="icon"><a class="maillink" href="mailto:<<$item.email1>>"><<$item.email1>></a><br>
    <nobr><img src="site/resources/img/icons/contact.png" width=13 height=17 class="icon"><div class="contact"><<$item.contactperson1>></div></nobr><br>
    <img src="site/resources/img/icons/phone.png" width=14 height=17 class="icon"><div class="phone"><<$item.phone1>></div>&nbsp;<img src="site/resources/img/icons/fax.png" width=17 height=15 class="icon"><div class="fax"><<$item.fax1>></div>
</div>
<<else>>
<div id="details_<<$item.businesslead_id>>" style="display:none;">
Please <a class="textlink" href="index.php?choice=login">login</a> or <a class="textlink" href="index.php?choice=register">register</a> to view details!
</div>
<</if>>
</td></tr>
<tr><td colspan=2 class="addressbar">
<div id="addressbar_<<$item.businesslead_id>>" style="display:none;">
<<if ($loggedin)>>
<img src="site/resources/img/icons/location.png" width=11 height=17 class="icon"><div class="address">
<<$item.city>> <<$item.street>> <<$item.sttype>> <<$item.houseno>>
</div>
<</if>>
</div>
<button onclick="viewDetails(this, '<<$item.businesslead_id>>');" style="position:relative; top:-15px;">View details</button>
</td></tr>
</table>


</div>

